package com.cet.regularexpression;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-06-21 16:33
 **/
public class Main05 {
    public static void main(String[] args) {
        String regex = "java|php";
        System.out.println("java".matches(regex));
        System.out.println("php".matches(regex));
        System.out.println("go".matches(regex));
    }
}
